#include "Log.hpp"

using namespace LogMoudle;

void fun()
{
    LOG(LogLevel::Fatal)<<"fun error";
}


int main()
{
    ENABLE_CONSOLE_LOG;
    LOG(LogLevel::Normal)<<"hello world";
    LOG(LogLevel::Normal)<<"hello world";
    LOG(LogLevel::Normal)<<"hello world";
    LOG(LogLevel::Normal)<<"hello world";
    LOG(LogLevel::Normal)<<"hello world";
    ENABLE_FILE_LOG;
    LOG(LogLevel::Normal)<<"hello world";
    LOG(LogLevel::Normal)<<"hello world";
    LOG(LogLevel::Normal)<<"hello world";
    LOG(LogLevel::Normal)<<"hello world";

    fun();

    return 0;
}